// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './router/index'
import store from './store/index'
import {routerMode} from './config/env'
import './config/rem'

// import MuseUI from 'muse-ui'
// import 'muse-ui/dist/muse-ui.css'
// import 'muse-ui/dist/theme-carbon.css'

Vue.config.productionTip = false

// Vue.use(MuseUI)
Vue.use(VueRouter)
const router = new VueRouter({
  mode: routerMode,
  routes,
  strict: process.env.NODE_ENV !== 'production'
})

/* eslint-disable no-new */
new Vue({
  router,
  store
}).$mount('#app')
